package com.kaifamiao.jdbc;

import com.kaifamiao.util.JdbcHelper;
import com.kaifamiao.util.RowHandler;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

public class JdbcTest10 {

    public static void main(String[] args) {

        JdbcHelper h = JdbcHelper.getInstance();

        h.execute( "" );

        Integer o = h.single("", new RowHandler<Integer>() {
            @Override
            public Integer handle(ResultSet rs) throws SQLException {
                return null;
            }
        });
        
        List<Object> list = h.query("", new RowHandler<Object>() {
            @Override
            public Integer handle(ResultSet rs) throws SQLException {
                return null;
            }
        });

        h.release();

    }

}
